<?php 
$i=0;
echo "var sites=[";
foreach($Events as $event){
	echo "[";
	echo "'".$event['Event']['name']."',";
	echo $event['Place']['lat'],",";
	echo $event['Place']['lng'],",";
	echo "".$event['Event']['id'].",";
	echo "'".'<iframe style="height:450px" src="../events/view_public_event/'.$event['Event']['id'].'" frameborder="0" scrolling="auto" ></iframe>'."',";	
	echo "'".$event['Ecategory']['icon']."'";
	echo "],";
 $i++;
}
echo "];";
?>



